﻿using System;
using System.Runtime.Serialization;

namespace PH.Model.Analyses.Bureaus
{
    [DataContract]
    public class B4SampleSchoolModel:MBase
    {
        [Model]
        [DataMember]
        public System.Guid ArchiveGuid { get; set; }
        [Model]
        [DataMember]
        public DateTime CreatedOn { get; set; }
        [Model]
        [DataMember]
        public int SchoolID { get; set; }
        [Model]
        [DataMember]
        public string SchoolCode { get; set; }
        [Model]
        [DataMember]
        public System.Guid SchoolGuid { get; set; }
        [Model]
        [DataMember]
        public string SchoolName { get; set; }
        [Model]
        [DataMember]
        public Nullable<int> Total { get; set; }
        [Model]
        [DataMember]
        public Nullable<int> Due { get; set; }
        [Model]
        [DataMember]
        public Nullable<int> Sample { get; set; }
        [Model]
        [DataMember]
        public Nullable<int> Balance { get; set; }
    }

    [DataContract]
    public class B4SampleSchoolCollection : ModelCollectionBase<B4SampleSchoolModel> { }

    public class B4SampleSchoolQuery : BAnalysisQuery
    {
        public bool? Finish { get; set; }
    }
}
